#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <QCheckBox>
#include "vizulizator.h"
#include "render2D.h"
#include "mathbox.h"
#include "graphics.h"

class MainWindow : public QMainWindow
{
	Q_OBJECT

public:
	MainWindow(QWidget *parent = 0);
	~MainWindow();

public slots:
     void setPlay();

protected:
    void keyPressEvent(QKeyEvent *e);

private:
	QToolBar* toolBar;
	QAction* playAction;
	Vizulizator* vizulisator;
	QDockWidget* widget2D;
	QDockWidget* widgetGraph;
	QCheckBox* traceShip;	
	Render2D* render2D;
	MathBox* mathBox;	
	Graphics* graphics;
	

	bool play;
};

#endif // MAINWINDOW_H
